package com.zh.config.db

data class DownloadDao(
    val id: Int,
    val url: String,
    val name: String,
    val logo: String,
    val filePath: String,
    var state: Int,//0：准备，1：下载中，2：暂停，3：失败，4：完成，5：已删除
    var total: Int,
    var time: Int,
) {
    var isSelect: Boolean = false
    override fun toString(): String {
        return "DownloadDao(id=$id, url='$url', name='$name', logo='$logo', filePath='$filePath', state=$state, total=$total, time=$time, isSelect=$isSelect)"
    }
}